package org.jeecg.modules.travel.dto.slideshow;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SlideshowAddDto {

    /**幻灯片名称*/
    @NotBlank(message = "幻灯片名称不能为空")
    @Schema(description = "幻灯片名称")
    private String slideshowName;
    /**图片地址*/
    @NotBlank(message = "图片地址不能为空")
    @Schema(description = "图片地址")
    private String slideshowUrl;
    /**序号*/
    @Schema(description = "序号")
    private Integer sortNo;

}
